home *** CD-ROM | disk | FTP | other *** search
- .geometry "version 0.1";
- v1 = .free(-0.222535, 0.205634, "1");
- v2 = .free(0.16338, 0.0535211, "2");
- l1 = .l.vv(v1, v2);
- l2 = .l.vlperp(v1, l1, .invisible);
- v3 = .vonl(l2, -0.146273, 0.399114, .plus);
- l3 = .l.vv(v3, v2, .magenta);
- l4 = .l.vv(v1, v3, .invisible);
- c1 = .c.vv(v2, v3, .invisible);
- l5 = .l.vlperp(v2, l3, .invisible, .longline);
- v4 = .v.lc(l5, c1, 1);
- l6 = .l.vv(v2, v4, .magenta);
- l7 = .l.vlperp(v4, l6, .invisible, .longline);
- l8 = .l.vlperp(v3, l3, .invisible, .longline);
- v5 = .v.ll(l8, l7);
- l9 = .l.vv(v4, v5, .magenta);
- l10 = .l.vv(v3, v5, .magenta);
- l11 = .l.vlperp(v4, l1, .invisible);
- l12 = .l.vlperp(v5, l11, .invisible, .longline);
- l13 = .l.vlperp(v3, l12, .invisible);
- v6 = .v.ll(l12, l11);
- v7 = .v.ll(l2, l7);
- v8 = .v.ll(l2, l12);
- v9 = .v.ll(l11, l1);
- l14 = .l.vv(v3, v8, .invisible);
- l15 = .l.vv(v6, v5, .invisible);
- l16 = .l.vlperp(v3, l14, .yellow);
- l17 = .l.vlperp(v8, l14, .yellow);
- c2 = .c.vv(v3, v8, .invisible);
- v13 = .v.lc(l16, c2, 2);
- l18 = .l.vlperp(v13, l16, .invisible, .longline);
- v14 = .v.ll(l18, l15);
- l19 = .l.vv(v8, v5);
- l21 = .l.vv(v13, v14, .yellow);
- l23 = .l.vv(v3, v8, .yellow);
- l24 = .l.vlpar(v4, l17, .invisible, .longline);
- v10 = .v.ll(l21, l24);
- l25 = .l.vv(v4, v10, .blue);
- l26 = .l.vv(v14, v10, .blue);
- l27 = .l.vv(v6, v4, .blue);
- l29 = .l.vv(v9, v6);
- l30 = .l.vv(v6, v14, .blue);
- .text("Pythagorean Theorem:");
- .text("");
- .text("A visual illustration of the pythagorean theorem.");
-